<div class="cms-header">
	<div class="layui-container">
		<a id="logo" href="/">
			<img class="layui-hide" src="/img/logo.png">${core.config("网站名称").content!}
		</a>
		<div class="layui-nav header-nav close">
			<ul class="" style="position: relative;">
				<li class="layui-nav-item layui-this"><a href="/">首页</a></li>
				<!--#
					var navTopCatalogList = cms.getCatalogByDictTypeAndValueAndParentCatalogId("catalog_position", "nav_top","");
					var curCatalogId = parameter.cid;
					for(catalog in navTopCatalogList) {
					  -->
					<li class="layui-nav-item <!--# if (parseLong(curCatalogId!0) == catalog.id || parseLong(parameter.id == '' ? 0 :parameter.id!0) == catalog.id ) {  -->layui-this<!--# } -->"><a href="${(catalog.code == null || catalog.code == '') ? (catalog.accessUrl+'?id='+catalog.id) : catalog.code}">${catalog.name }</a></li>
				<!--#} -->
			</ul>
		</div>
		<button id="switch">
			<span></span><span class="second"></span><span class="third"></span>
		</button>
	</div>
</div>